package com.org.qrtrace.Entry.request;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UpdateArrivedRequest对象", description="")
public class UpdateArrivedRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "主键")
    private String puid;

    @ApiModelProperty(value = "到达状态")
    private String arrived;

    @ApiModelProperty(value = "产品名称")
    private String pName;

    @ApiModelProperty(value = "最初来源")
    private String source;

    @ApiModelProperty(value = "产地")
    private String address;

    @ApiModelProperty(value = "批号")
    private String lot;

    @ApiModelProperty(value = "到期日期")
    private String exp;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "产品类型")
    private String tuid;

    @ApiModelProperty(value = "产品类型")
    private String type;

    private String createBy;


}
